%@LANGUAGE="VBSCRIPT"%>
<%
function getColorByDataAssignments(tmprs)
if (tmprs.eof) then
getColorByDataAssignments="0"
else
getColorByDataAssignments = "B0BECC"
end if
end function
dim Conn, strSql, rs, strMessage
set Conn = server.createobject("ADODB.Connection")
Conn.open strConn
%>
![]() |
|||||
|
|||||
<%
if request("mode") = "detail" and isnumeric(request("ID")) then
strSql = "select * from tblNews where News_ID_PK = " & request("ID")
set rs = server.createobject("ADODB.Recordset")
rs.open strSql, Conn
if not rs.eof then
%>
<% end if %> |
|||||
|
|
|
<%
'If Len(rs2("theText")) > 80 Then dot = ".." Else dot = ""
response.write formatdatetime(rs2("theDate"), vbShortDate)
response.write " " response.write rs2("title") rs2.MoveNext %> |
||
|
<%
response.write formatdatetime(rs2("theDate"), vbShortDate)
response.write " " response.write rs2("title") rs2.MoveNext %> |
||
|
<%
response.write formatdatetime(rs2("theDate"), vbShortDate)
response.write " " response.write rs2("title") rs2.MoveNext %> |
||
|
<%
response.write formatdatetime(rs2("theDate"), vbShortDate)
response.write " " response.write rs2("title") rs2.MoveNext %> |
|